
package net.mappoint.s.mappoint_30;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for RouteItinerary complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="RouteItinerary">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Segments" type="{http://s.mappoint.net/mappoint-30/}ArrayOfSegment" minOccurs="0"/>
 *         &lt;element name="TripTime" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="DrivingTime" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="Distance" type="{http://www.w3.org/2001/XMLSchema}double"/>
 *         &lt;element name="View" type="{http://s.mappoint.net/mappoint-30/}MapViewRepresentations" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RouteItinerary", propOrder = {
    "segments",
    "tripTime",
    "drivingTime",
    "distance",
    "view"
})
public class RouteItinerary {

    @XmlElement(name = "Segments")
    protected ArrayOfSegment segments;
    @XmlElement(name = "TripTime")
    protected long tripTime;
    @XmlElement(name = "DrivingTime")
    protected long drivingTime;
    @XmlElement(name = "Distance")
    protected double distance;
    @XmlElement(name = "View")
    protected MapViewRepresentations view;

    /**
     * Gets the value of the segments property.
     * 
     * @return
     *     possible object is
     *     {@link ArrayOfSegment }
     *     
     */
    public ArrayOfSegment getSegments() {
        return segments;
    }

    /**
     * Sets the value of the segments property.
     * 
     * @param value
     *     allowed object is
     *     {@link ArrayOfSegment }
     *     
     */
    public void setSegments(ArrayOfSegment value) {
        this.segments = value;
    }

    /**
     * Gets the value of the tripTime property.
     * 
     */
    public long getTripTime() {
        return tripTime;
    }

    /**
     * Sets the value of the tripTime property.
     * 
     */
    public void setTripTime(long value) {
        this.tripTime = value;
    }

    /**
     * Gets the value of the drivingTime property.
     * 
     */
    public long getDrivingTime() {
        return drivingTime;
    }

    /**
     * Sets the value of the drivingTime property.
     * 
     */
    public void setDrivingTime(long value) {
        this.drivingTime = value;
    }

    /**
     * Gets the value of the distance property.
     * 
     */
    public double getDistance() {
        return distance;
    }

    /**
     * Sets the value of the distance property.
     * 
     */
    public void setDistance(double value) {
        this.distance = value;
    }

    /**
     * Gets the value of the view property.
     * 
     * @return
     *     possible object is
     *     {@link MapViewRepresentations }
     *     
     */
    public MapViewRepresentations getView() {
        return view;
    }

    /**
     * Sets the value of the view property.
     * 
     * @param value
     *     allowed object is
     *     {@link MapViewRepresentations }
     *     
     */
    public void setView(MapViewRepresentations value) {
        this.view = value;
    }

}
